package com.xy.demo.Test;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.xy.demo.Util.SendSignHttpsClient;
import com.xy.demo.Util.Util;
import com.xy.demo.feishu.model.FSconfig;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;


import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

@SpringBootTest
public class FeishuTest {

    @Autowired
    private FSconfig fSconfig;


    @Test
    public void contextLoads() throws JsonProcessingException {
        String url= fSconfig.getUrl();
        String title = "测试头：";
        StringBuilder str = new StringBuilder();
        str.append("测试数据内容");
        Util.feishu(url,str,title);

    }




}
